package club.haomoon.core.exception;

import club.haomoon.core.enums.ErrorEnum;

/**
 * -------------------------
 * @Description: 支付失败异常
 * @Author: Wangjianwei
 * @Date: 2025/02/11 16:22
 * -------------------------
 */
public class PaymentException extends BaseException {

    public PaymentException(String msg) {
        super(ErrorEnum.FAILED.getCode(), msg, ErrorEnum.SHOW_MSG.getCode());
    }

    public PaymentException(String msg, Integer errCode) {
        super(errCode, msg, ErrorEnum.SHOW_MSG.getCode());
    }

}
